import java.util.Scanner;

public class Prize {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		System.out.println("请输入名次：");
		int rank = sc.nextInt();
		// 4-8名，奖励一个笔记本
		switch (rank) {

		case 1:
			System.out.println("参加夏令营");
			break;
		case 2:
			System.out.println("hp笔记本");
			break;
		case 3:
			System.out.println("10T硬盘");
			break;
		case 4:
		case 5:
		case 6:
		case 7:
		case 8:
			System.out.println("成光笔记本");
			break;
		default:
			System.out.println("没有奖励");
			break;

		}
		// if (rank == 1) {
		// System.out.println("参加夏令营");
		// } else if (rank == 2) {
		// System.out.println("hp笔记本");
		// } else if (rank == 3) {
		// System.out.println("2T硬盘");
		// } else {
		// System.out.println("nothing");
		// }
	}
}
